package cn.ffcs.uec.recordsApproval.vo;

import java.io.Serializable;
/**
 * 
 * @author liuxiaodong
 *
 * @param <T>
 */
public class ResponseResult<T> implements Serializable {

	private static final long serialVersionUID = 4341245254058446214L;
	
	public static final int STATE_OK = 1;
	// 任务不存在或已处理   
	public static final int STATE_ERROR = -1;
	
	public static final int PARAM_REQUIRED_ERROR = -2;
	public static final int USER_NOT_EXISTED_ERROR = -3;

	private int state;
	private String message;
	private T data;
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	
	
	
	
}
